/**
 * 
 */
package com.googlecode.pcapj;

import java.util.ArrayList;

/**
 * A list of packet handlers.
 */
public class PacketHandlerList extends ArrayList<PacketHandler> implements PacketHandler{

	private static final long serialVersionUID = 3330334285850268704L;
	
	/* (non-Javadoc)
	 * @see com.googlecode.pcapj.PacketHandler#handle(com.googlecode.pcapj.Captured)
	 */
	public void handle(Captured captured) {
		for (PacketHandler element : this) {
			element.handle(captured);
		}
	}
}
